﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>业务流程列表</title>
    <link rel="stylesheet" type="text/css" href="../../Portal/icons/font-icons.min.css" />
    <script type="text/javascript" src="../../Portal/js/sortjs/Sortable.min.js"></script>
    <!--- 引入代码. -->
    <script src="../../Scripts/jquery/jquery.min.js"></script>
    <script src="../../Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../../Scripts/config.js" type="text/javascript"></script>
    <script src="../../Comm/Gener.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../Portal/js/vue/vue.js"></script>
    <script src="../../Scripts/layui/LayuiDialog.js"></script>
    <script src="../../Scripts/layui/layui/layui.js"></script>
    <link href="../../Scripts/layui/layui/css/layui.css" rel="stylesheet" />
    <link href="./FrmBBS.css" rel="stylesheet" />
    <style>
       
    </style>
</head>

<body>

    <!--<div id="idcc">
        <i class="icon-home"></i>\\流程列表
    </div>-->
    <form id="cc" enctype="multipart/form-data" method="post">

        <div class="wapper" id="FrmBBSlist">
            <div class="project-content">


                <div class="pl" v-for="(item,index) in flowNodes">
                    <div class="tx">
                        <span>{{item.RecName}}</span>
                    </div>
                    <ul class="plbg">
                        <div class="f z13">{{item.RecName}}</div>
                        <div class="r"><span class="z13">{{item.RDT}}</span></div>
                        <div class="dr"></div>
                    </ul>
                    <ul class="plul">
                        {{item.Docs}}

                        <ul v-for="(it,key) in item.children">
                            <div class="pl ">
                                <div class="tx tx2">
                                    <span>{{it.RecName}}</span>
                                </div>
                                <ul class="plbg plbg2">
                                    <div class="f">{{it.RecName}}</div>
                                    <div class="r"><a v-if="it.MyFilePath!=''" @click="downloadFile(it)" style="margin-right:15px"><img src="../../Img/FileType/file.gif" style='width:16px' />{{it.MyFileName}}</a><span class="z12">{{it.RDT}}</span> <span v-if="it.Rec==webuser" @click="Delete(it.No)">删除</span></div>
                                    <div class="dr"></div>
                                </ul>
                                <ul style="padding-top: 10px; padding-bottom: 10px; word-wrap: break-word; width: 100%">
                                    {{it.Docs}}
                                </ul>
                            </div>
                        </ul>

                        <a class="hf" @click="Repay(index,item.No)">回复</a>
                        <a class="hf" v-if="item.Rec==webuser" @click="Delete(item.No)">删除</a>
                        <div class="huifu" :data-No="item.No"></div>
                        <div class="dr"></div>
                    </ul>
                </div>

                <div v-if="isReadonly == false">
                    <div class="in2">
                        <textarea id='reply-input' style='height: 40px; width: 98%;' placeholder="请输入内容？" spellcheck="false"></textarea>
                        <div class="l top10">
                            <button @click="Save()" type="button" id="myButton" data-loading-text="Loading..." class="layui-btn" autocomplete="off">
                                提交
                            </button>

                        </div>
                        <div class="dr"></div>
                    </div>
                </div>
                <div class="huif">

                    <textarea id='textarea2' style='height: 40px; width: 100%;' placeholder="期待您的回复！" spellcheck="false"></textarea>
                    <button onclick="hftj()" type="button" class="layui-btn top10">回复</button>
                    <a class="qxhf" onclick="qx()">取消回复</a>
                    <button type="button" class="layui-btn" id="test1">
                        <i class="layui-icon">&#xe67c;</i>上传附件
                    </button>
                </div>

            </div>
        </div>
          
        <script src="FrmBBS.js"></script>
    </form>
</body>

</html>
